/**
 * 场景配置
 * 
 * 功能：
 * 1. 定义所有场景相关的配置
 * 2. 管理场景加载和切换规则
 * 3. 设置场景默认参数
 * 
 * 配置项：
 * 1. 场景名称和路径
 * 2. 场景预加载设置
 * 3. 场景过渡效果
 * 4. 场景初始化参数
 */
export const SceneConfig = {
    SCENES: {
        MAIN_MENU: 'MainMenu',
        GAME: 'GameScene',
        LOADING: 'LoadingScene'
    },

    TRANSITIONS: {
        FADE_DURATION: 0.5,
        LOADING_MIN_TIME: 1.0
    },

    PRELOAD: {
        GAME_SCENE: true,
        MAIN_MENU: false
    },

    TERRAIN: {
        GRASS: {
            friction: 1.0,
            movementMultiplier: 1.0,
        },
        WATER: {
            friction: 0.5,
            movementMultiplier: 0.6,
        },
        SAND: {
            friction: 0.8,
            movementMultiplier: 0.9,
        }
    },

    CAMERA: {
        DEFAULT_HEIGHT: 15,
        DEFAULT_DISTANCE: 10,
        MIN_ZOOM: 5,
        MAX_ZOOM: 20,
        SMOOTH_SPEED: 0.125
    },

    SPAWN: {
        SAFE_RADIUS: 5,
        MIN_DISTANCE: 10
    }
}; 